﻿using System;
using System.Web.UI;

public partial class OrderInfo : Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["UserID"] != null)
        {
            this.UserID.Text = Session["UserID"].ToString();
        }
        if (Session["UserName"] != null)
        {
            this.UserName.Text = Session["UserName"].ToString();
        }
        if (Session["CustomUserType"] != null)
        {
            this.CustomUserType.Text = Session["CustomUserType"].ToString();
        }
        if (Request.Params["viewState"] != null)
        {
            this.ViewState.Text = Request["viewState"].ToString();
        }
        if (Request.Params["isEdit"] != null)
        {
            this.IsEdit.Text = Request.Params["isEdit"].ToString();
        }
        int wId = 0;
        int.TryParse(Request.Params["wId"], out wId);
        if (wId == 0)
        {
            int.TryParse(Request["wId"], out wId);
        }
        this.WId.Text = wId.ToString();
    }

}